/*
 * DoublePoint.h
 *
 *  Created on: May 31, 2011
 *      Author: gilang
 */

#ifndef DOUBLEPOINT_H_
#define DOUBLEPOINT_H_

#include "Point.h"

class DoublePoint: public Point {
public:
	DoublePoint(){}
	DoublePoint(double x,double y):Point(x,y,0){}
	double getX(){
		return get(1);
	}
	double getY(){
		return get(2);
	}
	virtual ~DoublePoint(){}
};

#endif /* DOUBLEPOINT_H_ */
